forumManageAction<%@ page language="java" import="java.util.*"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/common.jsp"%>
<html>
<head>
<title>论坛</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet"
	href="${pageContext.request.contextPath}/css/blue/forum.css" />
</head>
<body>
	<div id="Title_bar">
		<div id="Title_bar_Head">
			<div id="Title_Head"></div>
			<div id="Title">
				<!--页面标题-->
				<img border="0" width="13" height="13"
					src="${pageContext.request.contextPath}/css/images/title_arrow.gif" />
				论坛
			</div>
			<div id="Title_End"></div>
		</div>
	</div>
	<div id="MainArea">
		<center>
			<div class="ForumPageTableBorder" style="margin-top: 25px;">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">

					<!--表头-->
					<tr align="center" valign="middle">
						<td colspan="3" class="ForumPageTableTitleLeft">版块</td>
						<td width="80" class="ForumPageTableTitle">主题数</td>
						<td width="80" class="ForumPageTableTitle">文章数</td>
						<td width="270" class="ForumPageTableTitle">最后发表的主题</td>
					</tr>
					<tr height="1" class="ForumPageTableTitleLine">
						<td colspan="9"></td>
					</tr>
					<tr height="3">
						<td colspan="9"></td>
					</tr>

					<!--版面列表-->
					<tbody class="dataContainer" datakey="forumList">
						<s:iterator value="recordList">
							<tr height="78" align="center" class="template">
								<td width="3"></td>
								<td width="75" class="ForumPageTableDataLine"><img
									src="${pageContext.request.contextPath}/css/images/forumpage3.gif" />
								</td>
								<td class="ForumPageTableDataLine">
									<ul class="ForumPageTopicUl">
										<li class="ForumPageTopic"><s:a class="ForumPageTopic"
												action="forumAction_forumShow.do?id=%{id}">
												<s:property value="name" />
											</s:a>
										</li>
										<li class="ForumPageTopicMemo"><s:property
												value="description" /></li>
									</ul></td>
								<td class="ForumPageTableDataLine"><b><s:property
											value="topicCount" /> </b>
								</td>
								<td class="ForumPageTableDataLine"><b><s:property
											value="articleCount" /> </b>
								</td>
								<td class="ForumPageTableDataLine">
									<ul class="ForumPageTopicUl">
										<li><font color="#444444">┌ 主题：</font> <s:a
												class="ForumTitle"
												action="topicAction_showTopicById.do?topicId=%{lastTopic.id}">
												<s:property value="lastTopic.title" />
											</s:a></li>
										<li><font color="#444444">├ 作者：</font> <s:property
												value="lastTopic.author.username" /></li>
										<li><font color="#444444">└ 时间：</font> <s:property
												value="lastTopic.postTime" /></li>
									</ul></td>
								<td width="3"></td>
							</tr>
						</s:iterator>
					</tbody>
					<!-- 版面列表结束 -->

					<tr height="3">
						<td colspan="9"></td>
					</tr>
				</table>
			</div>
		</center>
	</div>
	<%@ include file="/WEB-INF/jsp/common/pageView.jsp"%>
	<s:form id="pageForm" action="forumAction_showAllForum.do">
		<s:hidden name="id"></s:hidden>
	</s:form>
</body>
</html>
